import request from '@/utils/repositoryRequest.js'
let host = 'https://app.sx985.com/api'
// 专业库
// 根据专业类名称获取专业列表
export const getmajorlistbyname =(obj) => {
  return request.post(host+'/major/getmajorlistbyname',obj)
}
// 根据专业代码获取专业详情
export const getmajor =(obj) => {
  return request.post(host+'/major/getmajor',obj)
}
// 根据专业代码获取专业详情
export const getmajorDetail =(obj) => {
  return request.post(host+'/major/getmajordetail',obj)
}
// 获取专业大类
export const gettype =(obj) => {
  return request.post(host+'/major/gettype',obj)
}
// 根据大类获取专业类和专业列表（两级）
export const getcatalogall =(obj) => {
  return request.post(host+'/major/getcatalogall',obj)
}
// 根据专业类代码获取推荐院校
export const getbycatalogcode =(obj) => {
  return request.post(host+'/major/discipline/getbycatalogcode',obj)
}
// 获取所有的专业列表
export const getmajorall =(obj) => {
  return request.post(host+'/major/getmajorall',obj)
}

// 获取所有的专业列表
export const getJobLists =(obj) => {
  return request.post(host+'/major/getjoblist',obj)
}
